package com.honghe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.honghe.common.annotation.Excel;
import com.honghe.common.core.domain.BaseEntity;

/**
 * 客户联系记录日志对象 contact_record_log
 * 
 * @author honghe
 */
public class ContactRecordLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Long logId;

    /** 案例ID */
    @Excel(name = "案例ID")
    private Long caseId;

    /** 记录ID */
    @Excel(name = "记录ID")
    private Long recordId;

    /** 操作类型（1新增 2修改 3删除） */
    @Excel(name = "操作类型", readConverterExp = "1=新增,2=修改,3=删除")
    private Integer operateType;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operateContent;
    
    /** 客户姓名 */
    private String customerName;
    
    /** 联系人 */
    private String contactPerson;
    
    /** 联系时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date contactTime;
    
    /** 联系方式 */
    private String contactType;
    
    /** 联系结果 */
    private String contactResult;
    
    /** 联系内容 */
    private String contactContent;
    
    /** 操作类型 */
    private String operationType;
    
    /** 操作人 */
    private String operationBy;
    
    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operationTime;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    
    public void setCaseId(Long caseId) 
    {
        this.caseId = caseId;
    }

    public Long getCaseId() 
    {
        return caseId;
    }
    
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    
    public void setOperateType(Integer operateType) 
    {
        this.operateType = operateType;
    }

    public Integer getOperateType() 
    {
        return operateType;
    }
    
    public void setOperateContent(String operateContent) 
    {
        this.operateContent = operateContent;
    }

    public String getOperateContent() 
    {
        return operateContent;
    }
    
    public String getCustomerName() 
    {
        return customerName;
    }

    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }
    
    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }
    
    public Date getContactTime() 
    {
        return contactTime;
    }

    public void setContactTime(Date contactTime) 
    {
        this.contactTime = contactTime;
    }
    
    public String getContactType() 
    {
        return contactType;
    }

    public void setContactType(String contactType) 
    {
        this.contactType = contactType;
    }
    
    public String getContactResult() 
    {
        return contactResult;
    }

    public void setContactResult(String contactResult) 
    {
        this.contactResult = contactResult;
    }
    
    public String getContactContent() 
    {
        return contactContent;
    }

    public void setContactContent(String contactContent) 
    {
        this.contactContent = contactContent;
    }
    
    public String getOperationType() 
    {
        return operationType;
    }

    public void setOperationType(String operationType) 
    {
        this.operationType = operationType;
    }
    
    public String getOperationBy() 
    {
        return operationBy;
    }

    public void setOperationBy(String operationBy) 
    {
        this.operationBy = operationBy;
    }
    
    public Date getOperationTime() 
    {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("caseId", getCaseId())
            .append("recordId", getRecordId())
            .append("operateType", getOperateType())
            .append("operateContent", getOperateContent())
            .append("customerName", getCustomerName())
            .append("contactPerson", getContactPerson())
            .append("contactTime", getContactTime())
            .append("contactType", getContactType())
            .append("contactResult", getContactResult())
            .append("contactContent", getContactContent())
            .append("operationType", getOperationType())
            .append("operationBy", getOperationBy())
            .append("operationTime", getOperationTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
} 